package com.tzj.pic;

import com.tzj.tg.BasePicture;
import com.tzj.tg.Config;

public class Grass extends BasePicture {

	public Grass(int x, int y) {
		super(x, y);
		int[] size = Config.getImgSize(Config.GRASS);
		this.width = size[0];
		this.height = size[1];
	}

	@Override
	protected void draw() {
		Config.draw(Config.GRASS, x, y);

	}
	
	@Override
	protected int getOrder() {
		// TODO 自动生成的方法存根
		return 2;
	}

}
